<!DOCTYPE html>
<html ng-app="BootApplication">

<head>
	<meta http-equiv="Content-Type" content="Wordpress themetext/html; charset=UTF-8">	
	<title>Personale AcquariumWeb</title>
	<!-- Behavioral Meta Data -->
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="icon" type="image/png" href="img/small-logo-01.png">
    <link href='http://fonts.googleapis.com/css?family=Roboto:400,900,900italic,700italic,700,500italic,400italic,500,300italic,300' rel='stylesheet' type='text/css'>
	<link href='https://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>
	<!-- Import plugin -->
	<jsp:include page="../core/head.jsp"></jsp:include>
</head>

<!-- CONTROLLER -->
<script type="text/javascript" src="<%=request.getContextPath()%>/js/tank/controller/my-tank-ctrl.js"></script>
<!-- SERVICE -->
<script type="text/javascript" src="<%=request.getContextPath()%>/js/tank/service/my-tank-srv.js"></script>

<body ng-controller="MyTankController">
	<session-timeout></session-timeout>

	<!-- TOP-BAR -->
	<jsp:include page="../core/top-bar.jsp"></jsp:include>
	
	<!-- HEADER -->
	<div id="wrapper-header">
		<div id="main-header" class="object">
			<div class="logo logoTitle logoPreTitle">{{'page.my.tank.pretitle' | translate}}</div>
			<div class="logo logoTitle">{{'page.my.tank.title' | translate}}</div>
	    </div>
	</div>

	<!-- NAV-BAR -->
	<jsp:include page="../core/nav-bar.jsp"></jsp:include>
	
	<!-- PORTFOLIO -->
	<div id="wrapper-container">
   		<div class="container object">
			<div id="main-container-image">
				<section class="work">
					
					<!------------------------------------>
					<!----- 	BUTTON RETURN 		------>
					<!------------------------------------>
					<div ng-show="isDetail" class="tab-return">
						<div id="dropdown-scrollable-container">
							<div id="dropdown-long-content">
					        	<div id="dropdown-hidden-container">
					          		<div class="btn-group">
					          			
							            <button id="btn-filter-open" type="button" class="btn btn-secondary" ng-click="returnTanks($event)"
							            		title="Ritorna indietro">
							            	Ritorna indietro
							           	</button>
					          		</div>
					        	</div>
					      	</div>
					    </div>
					</div>
					
					<div class="tab-content tab-tank">
						
						<!-------------------------------------->
						<!------------ ELENCO VASCHE ----------->
						<!-------------------------------------->
						<div ng-show="showTank" class="figureTableDiv">
							<div id="ref-figure" class="figureClass">
								<!-- VASCHE PRESENTI -->
								<figure ng-show="showTankList" class="white tank-list" ng-repeat="tank in tankList">
									<img ng-show="tank.urlImage!=null" src="<%=request.getContextPath()%>/{{tank.urlImage}}"/>
									<img ng-show="tank.urlImage==null" src="<%=request.getContextPath()%>/img/home/tank/box1-1.png"/>
									<dl>
										<div class="button" title="{{'page.my.tank.figure.delete' | translate}} {{tank.nome}}">
											<a href="#" ng-click="deleteTank($event, tank )"><i class='fa fa-trash'></i></a>
										</div>
										<dt>{{tank.nome}}</dt>
										<dd>{{tank.note}}</dd>
									</dl>
			                        <div id="{{tank.id}}" class="figure-name wrapper-part-info" ng-click="activeDetailTank(tank)" title="{{tank.nome}}">
			                           	<div class="part-info-image">{{'page.my.tank.figure.letter' | translate}}</div>
			                           	<div class="part-info">{{tank.nome}}</div>
									</div>
			                    </figure>
			                    <!-- NUOVA VASCA -->
			                    <figure ng-show="showBtnNewTank" class="add-tank white">
			                    	<a href="#" data-toggle="tab" ng-click="activeNewTank($event)" id="ref-newTank" 
			                    			title="{{'page.my.tank.add.tank' | translate}}" class="ng-binding">
										<i class="fa fa-picture-o" aria-hidden="true"></i>
										{{'page.my.tank.add.tank' | translate}}
									</a>
			                    </figure>
			                    <!-- PAGINATORE -->
			                    <div class="paginator">
			                    	<ul uib-pagination total-items="bigTotalItems" ng-model="bigCurrentPage" max-size="maxSize" ng-change="pageChanged()" class="pagination-sm" boundary-link-numbers="true"
			                    			previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;">></ul>
			                    </div>
							</div>
						</div>
						
						<!-------------------------------------------------------->
						<!------------ VISUALIZZAZIONE DETTAGLIO VASCA ----------->
						<!-------------------------------------------------------->
						<div ng-show="showDetailTank" id="ref-detailTank" class="detailTankClass">
							<div class="tank-resume">
							
								<!-------------------------------------------->
								<!----- 		VALORI VASCA	 		------>
								<!-------------------------------------------->
								<div class="col-md-12 sourceDiv valori-vasca" ng-click="fhsValoriVasca()">
									<h3>Valori vasca</h3>
								</div>
								<div class="col-md-12 sourceDiv valori-vasca" ng-show="hsValoriVasca">
									<div class="col-md-12 sourceDiv">
										<label class="ng-binding">{{'page.my.tank.new.nome' | translate}}:</label>
										<span ng-show="!isEdit">{{tankModel.nome}}</span>
										<input type="text" ng-model="tankModel.nome" placeholder="{{'page.my.tank.new.inseriscinome' | translate}}" required 
											ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
									</div>
									<div class="sourceDiv">
										<div class="col-md-3">
											<label class="ng-binding">{{'page.my.tank.new.larghezza' | translate}}:</label>
											<span ng-show="!isEdit">{{tankModel.larghezza}} cm</span>
											<input type="text" ng-model="tankModel.larghezza" placeholder="{{'page.my.tank.new.inseriscilarghezza' | translate}}" required 
													ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false" 
													ng-change="calculateCapacity()">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">{{'page.my.tank.new.lunghezza' | translate}}:</label>
											<span ng-show="!isEdit">{{tankModel.lunghezza}} cm</span>
											<input type="text" ng-model="tankModel.lunghezza" placeholder="{{'page.my.tank.new.inseriscilunghezza' | translate}}" required 
													ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false" 
													ng-change="calculateCapacity()">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">{{'page.my.tank.new.altezza' | translate}}:</label>
											<span ng-show="!isEdit">{{tankModel.altezza}} cm</span>
											<input type="text" ng-model="tankModel.altezza" placeholder="{{'page.my.tank.new.inseriscialtezza' | translate}}" required 
													 ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false" 
													 ng-change="calculateCapacity()">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">{{'page.my.tank.new.capacita' | translate}}:</label>
											<span ng-show="!isEdit">{{tankModel.capacita}} litri</span>
											<input type="text" ng-model="tankModel.capacita" placeholder="{{'page.my.tank.new.inseriscicapacita' | translate}}" disabled
													 ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>		
									</div>
									<div class="sourceDiv">
										<div class="col-md-3">
											<label class="ng-binding">PhMin:</label>
											<span ng-show="!isEdit">{{tankModel.phMin}}</span>
											<input type="text" ng-model="tankModel.phMin" placeholder="PhMin" required 
													ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">PhMax:</label>
											<span ng-show="!isEdit">{{tankModel.phMax}}</span>
											<input type="text" ng-model="tankModel.phMax" placeholder="PhMax" required 
													ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">GhMin:</label>
											<span ng-show="!isEdit">{{tankModel.ghMin}}</span>
											<input type="text" ng-model="tankModel.ghMin" placeholder="GhMin" required 
													ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">GhMax:</label>
											<span ng-show="!isEdit">{{tankModel.ghMax}}</span>
											<input type="text" ng-model="tankModel.ghMax" placeholder="GhMax"
													ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>		
									</div>
									<div class="sourceDiv">
										<div class="col-md-3">
											<label class="ng-binding">KhMin:</label>
											<span ng-show="!isEdit">{{tankModel.khMin}}</span>
											<input type="text" ng-model="tankModel.khMin" placeholder="KhMin" required 
													ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">KhMax:</label>
											<span ng-show="!isEdit">{{tankModel.khMax}}</span>
											<input type="text" ng-model="tankModel.khMax" placeholder="KhMax"
													ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">TemperatureMin:</label>
											<span ng-show="!isEdit">{{tankModel.temperatureMin}}</span>
											<input type="text" ng-model="tankModel.temperatureMin" placeholder="TemperatureMin" required 
													ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">TemperatureMax:</label>
											<span ng-show="!isEdit">{{tankModel.temperatureMax}}</span>
											<input type="text" ng-model="tankModel.temperatureMax" placeholder="TemperatureMax" required 
													ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>		
									</div>
									<div class="sourceDiv col-md-12">
										<label class="ng-binding">{{'page.my.tank.new.note' | translate}}:</label>
										<span ng-show="!isEdit">{{tankModel.note}}</span>
										<textarea ng-model="tankModel.note" placeholder="{{'page.my.tank.new.inseriscinote' | translate}}" required 
												 ng-show="isEdit" class="form-control ng-pristine ng-valid ng-empty ng-touched"></textarea>
									</div>
									<div class="btn-group noAbs align-btn-right">
										<button id="btn-detail-modify" type="button" class="ng-binding btn-primary" ng-click="modifyTank($event)" 
							            		ng-show="!isEdit" title="{{'page.my.tank.detail.btn.modify' | translate}}">{{'page.my.tank.detail.btn.modify' | translate}}</button>
							            <button id="btn-detail-cancel" type="button" class="ng-binding btn-primary" ng-click="cancelTank($event)" 
							            		ng-show="isEdit" title="{{'page.my.tank.detail.btn.cancel' | translate}}">Annulla</button>
										<button id="btn-detail-save" type="button" class="ng-binding btn-primary" ng-click="saveTank($event)" 
							            		ng-show="isEdit" title="Salva">Salva</button>						            		
					          		</div>
					          	</div>	
			          		
								<!-------------------------------------------->
								<!----- 		TASKS			 		------>
								<!-------------------------------------------->
								<div class="col-md-12 sourceDiv figureTableDiv tasks" ng-click="fhsTasks()">
									<h3>Tasks</h3>
								</div>
								<div class="col-md-12 sourceDiv figureTableDiv tasks" ng-show="hsTasks">
									<div class="col-md-4 figureClass">
										<figure class="add-task white" ng-repeat="task in taskList">
					                    	<a href="#" data-toggle="tab" ng-click="activeNewTank($event)" id="ref-newTank" 
					                    			title="{{'page.my.tank.add.tank' | translate}}" class="ng-binding">
												<i class="fa fa-picture-o" aria-hidden="true"></i>
												{{tankType.nome}}
											</a>
					                    </figure>
					                    <figure class="add-task white">
					                    	<a href="#" data-toggle="tab" ng-click="addTask($event)" id="ref-newTask" 
					                    			title="aggiungi nuovo task" class="ng-binding">
												<i class="fa fa-picture-o" aria-hidden="true"></i>
												aggiungi nuovo task
											</a>
					                    </figure>
									</div>
									<div ng-show="isNewTask" class="sourceDiv">
										<h4>TaskInformation</h4>
										<div class="sourceDiv col-md-12">
											<div class="col-md-3">
												<label class="ng-binding">Task name:</label>
												<input type="text" ng-model="taskModel.name" placeholder="taskName" required 
														class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
											</div>
											<div class="col-md-3">
												<label class="ng-binding">Task info:</label>
												<input type="text" ng-model="taskModel.info" placeholder="taskInfo" required 
														class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
											</div>
										</div>
											
										<h4>TaskScheduled</h4>
										<div class="sourceDiv col-md-12">
											<div class="col-md-3">
												<label class="ng-binding">Starting:</label>
												<input type="text" ng-model="taskModel.starting" placeholder="taskStarting" required 
														class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
											</div>
											<div class="col-md-3">
												<label class="ng-binding">Frequency:</label>
												<input type="text" ng-model="taskModel.frequency" placeholder="taskFrequency" required 
														class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
											</div>
											<div class="col-md-3">
												<label class="ng-binding">Every:</label>
												<input type="text" ng-model="taskModel.every" placeholder="taskEvery" required 
														class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
											</div>
											<div class="col-md-3">
												<label class="ng-binding">Repeat:</label>
												<input type="text" ng-model="taskModel.repeat" placeholder="taskRepeat" required 
														class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
											</div>
											<div class="col-md-3">
												<label class="ng-binding">Remaind Me At:</label>
												<input type="text" ng-model="taskModel.remaindMeAt" placeholder="taskRemaindMeAt" required 
														class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
											</div>
										</div>	
										<div class="btn-group noAbs align-btn-left">
											<button id="btn-new-task" type="button" class="ng-binding btn-primary" ng-click="saveTask($event)" 
								            		title="Aggiungi task">Aggiungi task</button>
						          		</div>
									</div>
								</div>
								
								<!-------------------------------------------->
								<!----- 		LIVESTOCKS		 		------>
								<!-------------------------------------------->
								<div class="col-md-12 sourceDiv figureTableDiv livestocks" ng-click="fhsLivestock()">
									<h3>Livestock</h3>
								</div>
								<div class="col-md-12 sourceDiv figureTableDiv livestocks" ng-show="hsLivestock">
									<div class="col-md-4 figureClass">
										<!-- ADD BUTTON LIVESTOCK -->
										<figure class="add-livestock  white">
					                    	<a href="<%=request.getContextPath()%>/fishCtrl/fishDetail?idTank={{tankModel.id}}" data-toggle="tab"
					                    			id="ref-newLivestock" title="aggiungi pesce" class="ng-binding">
												<i class="fa fa-picture-o" aria-hidden="true"></i>
												aggiungi pesce
											</a>
					                    </figure>
					                    </br></br></br>
					                    <figure class="add-livestock  white">
					                    	<a href="<%=request.getContextPath()%>/plantCtrl/plantDetail?idTank={{tankModel.id}}" data-toggle="tab"
					                    			id="ref-newLivestock" title="aggiungi pianta" class="ng-binding">
												<i class="fa fa-picture-o" aria-hidden="true"></i>
												aggiungi pianta
											</a>
					                    </figure>
					                    <!-- LIST LIVESTOCK -->
										<figure class="white livestock-figure" ng-repeat="livestock in livestockList">
											<img ng-show="livestock.urlImage!=''" src="<%=request.getContextPath()%>/{{livestock.urlImage}}"/>
											<img ng-show="livestock.urlImage==''" src="<%=request.getContextPath()%>/img/home/tank/box1-1.png"/>
											<dl>
												<div class="button" title="delete">
													<a href="#" ng-click="deleteLivestock($event, livestock )"><i class='fa fa-trash'></i></a>
												</div>
											</dl>
											<div class="figure-name wrapper-part-info" title="" role="button" tabindex="0">
					                           	<div class="part-info-image ng-binding">L</div>
					                           	<div class="part-info ng-binding">{{livestock.commonName}}</div>
											</div>
					                    </figure>
									</div>
								</div>
								
								<!-------------------------------------------->
								<!----- 		TANK ANALISYS	 		------>
								<!-------------------------------------------->
								<div class="col-md-12 sourceDiv figureTableDiv tank-analisys" ng-click="fhsTankAnalisys()">
									<h3>Tank Analisys</h3>
								</div>
								<div class="col-md-12 sourceDiv figureTableDiv tank-analisys" ng-show="hsTankAnalisys">
									<div class="col-md-4 figureClass">
										<figure class="white tank-analisys-figure" ng-repeat="tankAnalisys in tankAnalisysList">
											<img ng-show="livestock.urlImage!=null" src="<%=request.getContextPath()%>/{{livestock.urlImage}}"/>
											<img ng-show="livestock.urlImage==null" src="<%=request.getContextPath()%>/img/home/tank/box1-1.png"/>
					                    	<a href="#" data-toggle="tab" ng-click="" id="ref-newTank" 
					                    			title="{{'page.my.tank.add.tank' | translate}}" class="ng-binding">
												<i class="fa fa-picture-o" aria-hidden="true"></i>
												{{livestock.nome}}
											</a>
					                    </figure>
					                    <figure class="add-tank-analisys white">
					                    	<a href="#" data-toggle="tab" ng-click="addTankAnalisys($event)" id="ref-newTankAnalisys" 
					                    			title="aggiungi tank analisys" class="ng-binding">
												<i class="fa fa-picture-o" aria-hidden="true"></i>
												aggiungi tank analisys
											</a>
					                    </figure>
									</div>
								</div>
								
								<!-------------------------------------------->
								<!----- 		SOCIAL NETWORK	 		------>
								<!-------------------------------------------->
								<div class="col-md-12 sourceDiv figureTableDiv social-networks" ng-click="fhsSocialNetwork()">
									<h3>Social Network</h3>
								</div>
								<div class="col-md-12 sourceDiv figureTableDiv social-networks" ng-show="hsSocialNetwork">	
									<div class="col-md-4 figureClass">
					                    <figure class="white social-networks-figure" ng-repeat="socialNetwork in socialNetworkList">
											<img ng-show="livestock.urlImage!=null" src="<%=request.getContextPath()%>/{{livestock.urlImage}}"/>
											<img ng-show="livestock.urlImage==null" src="<%=request.getContextPath()%>/img/home/tank/box1-1.png"/>
					                    	<a href="#" data-toggle="tab" ng-click="" id="ref-newTank" 
					                    			title="{{'page.my.tank.add.tank' | translate}}" class="ng-binding">
												<i class="fa fa-picture-o" aria-hidden="true"></i>
												{{livestock.nome}}
											</a>
					                    </figure>
					                    <figure class="add-social-network white">
					                    	<a href="#" data-toggle="tab" ng-click="addSocialNetworks($event)" id="ref-newSocialNetwork" 
					                    			title="aggiungi social network" class="ng-binding">
												<i class="fa fa-picture-o" aria-hidden="true"></i>
												aggiungi social network
											</a>
					                    </figure>
									</div>
								</div>
								
							</div>
						</div>
						
						<!---------------------------------------------------->
						<!------------ VISUALIZZAZIONE NUOVA VASCA ----------->
						<!---------------------------------------------------->
						<div ng-show="showNewTank" id="ref-detailTank" class="detailTankClass">
							
							<div class="tank-resume">
								<div class="col-md-12 sourceDiv">
									<!-------------------------------------------->
									<!----- 		VALORI VASCA	 		------>
									<!-------------------------------------------->
									<div>
										<h3>Valori vasca</h3>
									</div>
									<div class="col-md-12 sourceDiv">
										<label class="ng-binding">{{'page.my.tank.new.nome' | translate}}:</label>
										<input type="text" ng-model="tankModel.nome" placeholder="{{'page.my.tank.new.inseriscinome' | translate}}" required 
												class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
									</div>
									<div class="sourceDiv">
										<div class="col-md-3">
											<label class="ng-binding">{{'page.my.tank.new.larghezza' | translate}}:</label>
											<input type="text" ng-model="tankModel.larghezza" placeholder="{{'page.my.tank.new.inseriscilarghezza' | translate}}" required 
													class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false" 
													ng-change="calculateCapacity()">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">{{'page.my.tank.new.lunghezza' | translate}}:</label>
											<input type="text" ng-model="tankModel.lunghezza" placeholder="{{'page.my.tank.new.inseriscilunghezza' | translate}}" required 
													class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false" 
													ng-change="calculateCapacity()">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">{{'page.my.tank.new.altezza' | translate}}:</label>
											<input type="text" ng-model="tankModel.altezza" placeholder="{{'page.my.tank.new.inseriscialtezza' | translate}}" required 
													class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false" 
													ng-change="calculateCapacity()">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">{{'page.my.tank.new.capacita' | translate}}:</label>
											<input type="text" ng-model="tankModel.capacita" placeholder="{{'page.my.tank.new.inseriscicapacita' | translate}}" disabled
													class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>		
									</div>
									<div class="sourceDiv">
										<div class="col-md-3">
											<label class="ng-binding">PhMin:</label>
											<input type="text" ng-model="tankModel.phMin" placeholder="PhMin" required 
													class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">PhMax:</label>
											<input type="text" ng-model="tankModel.phMax" placeholder="PhMax" required 
													class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">GhMin:</label>
											<input type="text" ng-model="tankModel.ghMin" placeholder="GhMin" required 
													class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">GhMax:</label>
											<input type="text" ng-model="tankModel.ghMax" placeholder="GhMax"
													class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>		
									</div>
									<div class="sourceDiv">
										<div class="col-md-3">
											<label class="ng-binding">KhMin:</label>
											<input type="text" ng-model="tankModel.khMin" placeholder="KhMin" required 
													class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">KhMax:</label>
											<input type="text" ng-model="tankModel.khMax" placeholder="KhMax"
													class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">TemperatureMin:</label>
											<input type="text" ng-model="tankModel.temperatureMin" placeholder="TemperatureMin" required 
													class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>
										<div class="col-md-3">
											<label class="ng-binding">TemperatureMax:</label>
											<input type="text" ng-model="tankModel.temperatureMax" placeholder="TemperatureMax" required 
													class="form-control ng-pristine ng-valid ng-empty ng-touched" aria-invalid="false">
										</div>		
									</div>
									<div class="sourceDiv col-md-12">
										<label class="ng-binding">{{'page.my.tank.new.note' | translate}}:</label>
										<textarea ng-model="tankModel.note" placeholder="{{'page.my.tank.new.inseriscinote' | translate}}" required 
												class="form-control ng-pristine ng-valid ng-empty ng-touched"></textarea>
									</div>
									<div class="btn-group noAbs align-btn-right">
							            <button id="btn-detail-cancel" type="button" class="ng-binding btn-primary"  ng-click="returnTanks($event)"
							            		title="{{'page.my.tank.detail.btn.cancel' | translate}}">Annulla</button>
										<button id="btn-detail-save" type="button" class="ng-binding btn-primary" ng-click="saveTank($event)" 
												title="Salva">Salva</button>						            		
					          		</div>
					          	</div>	
							</div>
						</div>
				</section>
			</div>	
		</div>
            
		<div id="wrapper-thank">
	    	<div class="thank">
	        	<div class="thank-text">{{'page.my.tank.title.one' | translate}}<span style="letter-spacing:-5px;">-</span>{{'page.my.tank.title.two' | translate}}</div>
	    	</div>
		</div>
	    
		<!-- MAIN-CONTAINER-FOOTER -->
		<jsp:include page="../core/main-container-footer.jsp"></jsp:include>
    
    	<!-- WRAPPER-COPYRIGHT -->
	    <jsp:include page="../core/wrapper-copyright.jsp"></jsp:include>
	</div>

	<!-- SCRIPT -->
	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.scrollTo.min.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.localScroll.min.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-animate-css-rotate-scale.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/js/fastclick.min.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.animate-colors-min.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.animate-shadow-min.js"></script>    
	<script type="text/javascript" src="<%=request.getContextPath()%>/js/main.js"></script>
</body>
</html>
